<?php


namespace backend\models;


use common\models\ConfigValue;

class ConfigValueDao extends ConfigValue
{
    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['config_id'], 'integer'],
            [['data', 'app_id'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'app_id' => '应用id',
            'config_id' => '配置id',
            'data' => '内容',
        ];
    }

}